package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 新建合同发票列参数
 * @author LikeAdmin
 */
@Data
@ApiModel("新建合同发票列更新参数")
public class InvoiceContractUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "操作人ID")
    private Long userId;

    @ApiModelProperty(value = "操作人名称")
    private String userName;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "主键ID")
    private String id;

    @NotNull(message = "updateUserId参数缺失")
    @ApiModelProperty(value = "修改人编号")
    private Long updateUserId;

    @ApiModelProperty(value = "修改人名称")
    private String updateUserName;

    @ApiModelProperty(value = "发票抬头")
    private String invoiceTitle;

    @ApiModelProperty(value = "价税合计")
    private String totalPriceAll;

    @ApiModelProperty(value = "创建时间")
    private String creationTime;

    @ApiModelProperty(value = "创建人")
    private String creator;

    @ApiModelProperty(value = "审核人")
    private String auditor;

    @ApiModelProperty(value = "当前审核节点")
    private String currentAuditNode;

    @ApiModelProperty(value = "状态")
    private String state;

}
